home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
DELPHI32
/
SYS_TOOL
/
MULTI020
/
FEATURES.MUL
< prev
next >
Wrap
Text File
|
1993-09-05
|
3KB
|
61 lines
MULTI is a unit for cooperative multitasking for Borland Pascal, and it
offers these features :
* Multitask as many tasks as memory is available.
* Works in REAL MODE and PROTECTED MODE !
* The Turbo Debugger and the debugging facilities of the IDE
still work with MULTI.
* Uses cooperative multitasking, which executes faster and
does not pose as many problems (critical region locking etc.)
as other methods.
* The memory is allocated dynamically. You don't have to waste
60k of stack space if only one procedure needs that many !
* Chose algorithms so that nearly all tasks execute in a fixed
time, independent of the number of tasks etc.
* All time critical parts written in Assembly language for speed.
* Every task can have it's deinitialization part which is even
executed if the task is killed !
* Provides semaphores for task synchronisation.
* Tasks waiting for a semaphore produce NO overhead !
* Even if the program halts with a run-time error the tasks
(even the ones waiting for a semaphore) get a chance to
deinitialize.
* Provides advanced diagnostics with a two-level debugging dump
to the monochrome monitor (can easily be adjusted to write to
anything else, like a file or a Turbo Vision windows etc.)
It even tells you which task produced the run-time error !
* Provide intertask communications using pipes.
* The pipes handle everything for you, the writing task is put
asleep if there is no space in the pipe buffer, the reading
task is put asleep if there is nothing to read.
* The data you read from or write into the pipe is chunked
automatically.
* Provide tasks which dump a pipe to the screen, put the
keyboard input into a pipe, dump one pipe into another,
or do serial communications using a FOSSIL driver.
* A manual which tries to introduce you not only to MULTI but
to the concepts of multitasking (comments about the manual
are welcome !).
* Provide a MULTI.TPH help file for the IDE or THELP so you can
program on-the-fly without having to look through MULTI's code
again and again in search for answers.